home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4267 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  861 b 

  1. Path: gail.ripco.com!mambuhl
  2. From: mambuhl@ripco.com (Martin Ambuhl)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Basic Question on SWI
  5. Date: 2 Feb 1996 17:04:21 GMT
  6. Organization: Ripco Communications, Inc.
  7. Message-ID: <4etg6l$flg@gail.ripco.com>
  8. NNTP-Posting-Host: golden.ripco.com
  9.  
  10. ray@ultimate-tech.com (Ray Dunn)
  11. in <4ehfuj$166g@ns.RezoNet.NET> writes:
  12.  
  13. >Indeed.  In the general case there is no guarantee that all the digits
  14. >are consecutive as they are in ASCII, so the use of isdigit is the only
  15. >portable way to go, although the strchr example works fine too, if
  16. >slowly.
  17.  
  18. Bull.  ISO 5.2.1:
  19. "In both the source and execution basic character sets, the value of
  20. each character after 0 in the above list of decimal digits shall be one
  21. greater than the value of the previous."
  22.                
  23. --
  24. * Martin Ambuhl       net: mambuhl@ripco.com
  25. * Chicago, IL (USA)    
  26.